/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.component.open.api.core.service.processor.base.pre;

import info.peigen.hotpot.component.open.api.facade.processor.base.OpenApiProcessor;
import info.peigen.hotpot.component.open.api.facade.processor.base.OpenApiProcessorServiceContext;
import org.noear.solon.annotation.Component;


/**
 * <b>(OpenApiCheckOrderProcessor)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/6/13
 */
@Component
public class OpenApiCheckOrderProcessor implements OpenApiProcessor {
    @Override
    public Integer level() {
        return 2;
    }

    @Override
    public void execute(OpenApiProcessorServiceContext serviceContext) {
        serviceContext.getOrder().check();
    }
}